import request from '@/util/request'

export function updateDeviceViewComponent(data) {
  return request({
    url: '/iot/device/view/component/update',
    method: 'post',
    data
  })
}

export function listDeviceViewComponent(data) {
  return request({
    url: '/iot/device/view/component/list',
    method: 'post',
    data
  })
}

export function deleteDeviceViewComponent(data) {
  return request({
    url: '/iot/device/view/component/delete',
    method: 'post',
    data
  })
}

